#!/bin/sh
cp /etc/pki/tls/certs/ca-bundle.crt /etc/pki/tls/certs/ca-bundle.crt.bak
curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
cp city-fan-for-curl.repo /etc/yum.repos.d/city-fan-for-curl.repo
yum update curl --enablerepo=CityFanforCurl -y